import Vue from 'vue'
import App from './App.vue'

import './plugins/element.js'
import $http from '@/utils/http'
import { Notification } from 'element-ui';

import router from './router/'
import store from './store/'

Vue.config.productionTip = false
Vue.prototype.$http = $http
Vue.prototype.$succ = () => Notification.success('操作成功')
Vue.prototype.$err = () => Notification.error('操作失败')
new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
